翻訳と辞書
Words near each other
・ Commendatore
・ Commendatori
・ Commendatory abbot
・ Commensacq
・ Commensalism
・ Commensurability
・ Commensurability (astronomy)
・ Commensurability (economics)
・ Commensurability (ethics)
・ Commensurability (mathematics)
・ Commensurability (philosophy of science)
・ Commensurator
・ Comment
・ Comment (1958 TV series)
・ Comment (computer programming)
Comment programming
・ Comment réussir quand on est con et pleurnichard
・ Comment spam
・ Comment te dire adieu? (song)
・ Comment ça va
・ Commenta Bernensia
・ Commentaria in Aristotelem Graeca
・ Commentaries on American Law
・ Commentaries on Aristotle
・ Commentaries on Living
・ Commentaries on Plato
・ Commentaries on the Bible
・ Commentaries on the Constitution of the United States
・ Commentaries on the Laws of England
・ Commentarii


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Comment programming : ウィキペディア英語版
Comment programming
Comment programming, also known as comment-driven development (CDD) is a (mostly) satirical software development technique that is heavily based on commenting out code.〔http://www.sitepoint.com/blogs/2007/10/10/comment-driven-development/〕
In comment programming the comment tags are not used to describe what a certain piece of code is doing, but rather to stop some parts of the code from being executed. The aim is to have the commented code at the developer's disposal at any time he might need it. This is especially useful when the requirements change rapidly. In this case they happen to revert to older versions of themselves, thus making the programmer either write the code again, or revert parts of the code from the versioning repository, which would be more time-consuming. With comment programming, when such a request for reverting to an old implementation arises, the developer just comments the current implementation and uncomments the previous. It is advisable to add short descriptive comments to blocks of commented code.
==Practical uses==

A related, but separate, more practical use of comments is for creating stubs with comments describing a feature (usually using special tags) ahead of future development of that feature.
For example, this programming process can be used for prototyping a new design pattern. This is done by creating a new structure of classes or functions without any implementation, and adding the implementation at a later date.
Pseudocode Example:

function onClick()

As you can see in the example, there is a structure around a click event handler. However, comment programming is used instead of a real implementation. The idea is that many functions can be written like this, and then the design can be reworked and revisited without having to refactor a lot of source code.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Comment programming」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.